Skip to content

Conversation

stanleyyconsensys
Copy link
Contributor

@stanleyyconsensys stanleyyconsensys commented Oct 14, 2025

Explanation

Adds support for the Monad network to the BridgeController by integrating necessary constants and configurations. This change enables bridging functionality for the Monad blockchain within the MetaMask ecosystem.

Changes

  • Add Monad chain ID, display name, and network mappings
  • Configure Monad token object with symbol, name, and default properties
  • Include Monad in allowed bridge chain IDs for bridge operations

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed, highlighting breaking changes as necessary
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

Note

Adds Monad network support across chains, tokens, and allowed bridge chain IDs.

  • Networks/Chains:
    • Add CHAIN_IDS.MONAD and MONAD_DISPLAY_NAME; map to name in NETWORK_TO_NAME_MAP (src/constants/chains.ts).
  • Bridge:
    • Include CHAIN_IDS.MONAD in ALLOWED_BRIDGE_CHAIN_IDS (src/constants/bridge.ts).
  • Tokens:
    • Add CURRENCY_SYMBOLS.MON and MONAD_SWAPS_TOKEN_OBJECT; map default token in SWAPS_CHAINID_DEFAULT_TOKEN_MAP; add SLIP-44 entry MON: slip44:268435779 (src/constants/tokens.ts).
  • Docs:
    • Update CHANGELOG.md with Monad support under Unreleased.

Written by Cursor Bugbot for commit 420562e. This will update automatically on new commits. Configure here.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds support for the Monad network to the BridgeController by integrating necessary constants and configurations. This change enables bridging functionality for the Monad blockchain within the MetaMask ecosystem.

  • Add Monad chain ID, display name, and network mappings
  • Configure Monad token object with symbol, name, and default properties
  • Include Monad in allowed bridge chain IDs for bridge operations

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
packages/bridge-controller/src/constants/chains.ts Adds Monad chain ID and display name constants
packages/bridge-controller/src/constants/tokens.ts Defines Monad token object and currency symbol mappings
packages/bridge-controller/src/constants/bridge.ts Includes Monad in allowed bridge chain IDs
packages/bridge-controller/CHANGELOG.md Documents the addition of Monad network support

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Julink-eth Julink-eth marked this pull request as ready for review October 16, 2025 11:56
@Julink-eth Julink-eth requested review from a team as code owners October 16, 2025 11:56
@Julink-eth Julink-eth marked this pull request as draft October 16, 2025 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants